import React from 'react'
import StateDemo from "./component/StateDemo"
import ReducerDemo from "./component/ReducerDemo"
import ContextDemo,{Father,Child} from "./component/ContextDemo"
export default function App() {
  return (
    <div>
      <ContextDemo children={<Father children={<Child/>} />} />
      <hr/>
      <ReducerDemo/>
      <hr/>
      <StateDemo/>
    </div>
  )
}
